import request from "@/utils/request";

/**
 * ⽤⼾⼤数据
 * @returns {*}
 */
export function electricBicycleData() {
    return request({
        url: '/wheelerOrder/queryWheelerInfoStatistics',
        method: 'GET',
    })
}

/**
 * @description 中间顶部数据
 * @returns {*}
 */
export function topData() {
    return request({
        url: '/wheelerOrder/queryLargeScreenTopDataStatistics',
        method: 'GET',
    })
}

/**
 * @description 近七天累计收入
 * @returns {*}
 */
export function AccumulatedIncome() {
    return request({
        url: '/wheelerOrder/getWheelerOrderActualPriceBy7Day',
        method: 'GET',
    })
}

/**
 * @description 各小区收入
 * @returns {*}
 */
export function powerStationRevenue() {
    return request({
        url: '/wheelerOrder/getWheelerOrderGroupByStation',
        method: 'GET',
    })
}

/**
 * @description 近七天充电电量
 * @returns {*}
 */
export function classifiedIncome() {
    return request({
        url: '/wheelerOrder/getWheelerOrderActualPowerBy7Day',
        method: 'GET',
    })
}

/**
 * @description 近三十天充电趋势
 * @returns {*}
 */
export function stageIncome() {
    return request({
        url: '/wheelerOrder/getWheelerOrderCountBy30Day',
        method: 'GET',
    })
}

/**
 * @description 运行状态统计
 * @returns {*}
 */
export function electricBicycleList() {
    return request({
        url: '/wheelerOrder/querySocketInfoList',
        method: 'GET',
    })
}
